﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WMS.Model;
using WMS.Repository.IRepository;

namespace WMS.Service.IService
{
    public interface IMenuService
    {
        public Task<List<DynamicRouteDto>> GetMenuListAsync(bool? isEnabled = null, bool? isVisible = null);

        public  Task<(bool Success, string Message, object Data)> GetOneMenuList();

        public Task<(bool Success, string Message)> AddMenuAsync(MenuModelDto menuModel);

        Task<(bool Success, string Message)> UpdateMenuAsync(MenuModelDto menuModel);

        Task<(bool Success, string Message)> DeleteMenuAsync(long id);

        Task<(bool Success, string Message)> HideMenuAsync(long id);

        Task<List<DynamicRouteDto>> GetDynamicRouterAsync(long userId);

    }

}
